home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 293 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.5 KB

  1. Path: engnews1.Eng.Sun.COM!taumet!clamage
  2. From: bs@research.att.com
  3. Newsgroups: comp.std.c++
  4. Subject: Exception spec seems ambigous to me..
  5. Date: 5 Feb 1996 23:28:55 GMT
  6. Organization: ?
  7. Approved: clamage@eng.sun.com (comp.std.c++)
  8. Message-ID: <199602052120.OAA20187@ncar.ucar.EDU>
  9. NNTP-Posting-Host: taumet.eng.sun.com
  10. Content-Type: text
  11. Content-Length: 1188
  12. X-Lines: 42
  13. Originator: clamage@taumet
  14.  
  15. Article 15941 of comp.std.c++:
  16.  
  17.  
  18. David Byrden <100101.2547@compuserve.com> writes
  19.  
  20.  > These questions do not seem to be unambigously answered by the September 
  21.  > draft;
  22.  > 
  23.  > Is an exception considered caught when it is handled by a handler
  24.  > whose exception-declaration is the ellipsis ... ? 
  25.  
  26. Yes: sec 15.3:
  27.  
  28.     "An exception is considered handled upon entry to a handler."
  29.  
  30. (This text appears in every description of exceptions, including the ARM.)
  31.  
  32.  > Will  uncaught_exception()  return false when you are in such a handler?
  33.  
  34. Yes. Immediately upon entry into a handler, there can be no uncaught
  35. exception (you just caught it).
  36.  
  37.  > Most importantly, can such a handler call functions which themselves
  38.  > thrown and catch exceptions internally?
  39.  
  40. Certainly. There are no language-imposed restrictions on what code you
  41. can write in a handler.
  42.  
  43.     - Bjarne
  44. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  45.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy is
  46.   summarized in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
  47. ]
  48.